<?php
/**
 * Created by PhpStorm.
 * User: zhangjincheng
 * Date: 16-7-15
 * Time: 下午4:49
 */
$config['mysql']['enable'] = true;
$config['mysql']['active'] = 'laravel';

$config['mysql']['test']['host'] = '192.168.20.231';
$config['mysql']['test']['port'] = '3306';
$config['mysql']['test']['user'] = 'root';
$config['mysql']['test']['password'] = '123456';
$config['mysql']['test']['database'] = 'wsd-demo';
$config['mysql']['test']['charset'] = 'utf8';

$config['mysql']['laravel']['host'] = env('DB_HOST', 'localhost');
$config['mysql']['laravel']['port'] = env('DB_PORT', 3306);
$config['mysql']['laravel']['user'] = env('DB_USERNAME', 'omg');
$config['mysql']['laravel']['password'] = env('DB_PASSWORD', 'omg');
$config['mysql']['laravel']['database'] = env('DB_DATABASE', 'omg');
$config['mysql']['laravel']['charset'] = env('DB_CHARSET', 'utf8');
/*
$config['mysql']['laravel']['collation'] = env('DB_COLLATION', 'utf8_unicode_ci');
$config['mysql']['laravel']['prefix'] = env('DB_PREFIX', '');
$config['mysql']['laravel']['timezone'] = env('DB_TIMEZONE', '+00:00');
$config['mysql']['laravel']['strict'] = env('DB_STRICT_MODE', false);
*/

$config['mysql']['asyn_max_count'] = 10;

// Add by hb on 2018-01-31 for Support Doctrine-ORM
$config['mysql']['doctrine']['enable'] = true;

return $config;
